package com.seata.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.seata.account.po.Account;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

@Repository
public interface AccountMapper extends BaseMapper<Account> {
    void decrease(@Param("userId") Long userId, @Param("money") BigDecimal money);
}
